﻿using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework;

namespace RaptorEngine.Components.Drawable
{
	public class Drawable2DComponent : Drawable
	{
        private float _alpha = 1;
        public float Alpha { get { return _alpha; } internal set { _alpha = value; } }
        private Color _color = Color.White;
	    public Color Color { get { return _color; } internal set { _color = value; } }

        public Drawable2DComponent(Entity e) 
            : base(e, ComponentType.Drawable2D)
        {
        }

        public Drawable2DComponent(Entity e, string text)
            : base(e, ComponentType.Drawable2D, text)
        {
        }

        public virtual void Draw(SpriteBatch spritebatch) { }

	}
}
